<?php

namespace App\Kuafu\Nsq\Enum;

class NsqCodeEnum
{
    // topic
    public const ORDER_NSQ_UPDATE_SEND_QUEUE = 'rms.orders.order.update'; // 订单更新队列
    public const USER_BASE_INFO_EDIT         = 'rms.user.baseInfoEdit'; // 用户基本信息修改

    public const PAY_SUCCESS = 'rms.pay.success'; // 支付成功

    public const EXPORT_DOWNLOAD = 'rms.export.download'; // 导出下载

    public const MYBANK_REGISTER = 'rms.mybank.register'; // 网商注册

    public const FS_USER_NEW = 'rms.fs.user.new'; // 飞书用户新增

    public const FS_EVENT = 'rms.fs.event'; // 飞书事件通知

    public const MQTT_SEND = 'rms.mqtt.send'; // mqtt发送消息

    public const SHOP_CREATE = 'rms.shop.create'; // 店铺创建

    public const MQTT_SUBSCRIBE = 'rms.mqtt.subscribe'; // mqtt订阅

    public const SHOP_STAFF_EVENT = 'rms.shop.staff.event'; // 门店员工创建删除事件通知

    public const SHOP_ATTRIBUTE_EVENT = 'rms.shop.attribute.event'; // 门店属性事件通知

    public const SYSTEM_POP_WINDOW = 'tiger.system.pop.window'; // 应用弹窗

    // channel
    public const EXPORT_DOWNLOAD_CHANNEL = 'rms.export.download.channel'; // 导出下载channel

    public const MQTT_SEND_RMS_CHANNEL      = 'rms.mqtt.send.rms.channel'; // mqtt发送消息channel
    public const MQTT_SUBSCRIBE_RMS_CHANNEL = 'rms.mqtt.subscribe.rms.channel'; // mqtt订阅消息channel

    public const SHOP_UNIFIED_MANAGEMENT_CHANGED = 'rms.shop.unified.management.changed'; // 统管门店变更
}
